package com.hzp.lolnews.ui.news.view;

import com.hzp.lolnews.base.IBaseView;
import com.hzp.lolnews.bean.HomeContent;
import com.hzp.lolnews.bean.HomeGrid;
import com.hzp.lolnews.bean.HomeRow;

import java.util.List;

/**
 * Created by Administrator on 2016/10/20 0020.
 */
public interface IHomeContent extends IBaseView {

    //获取接口连接数组
    String[] getPath();
    //下拉刷新
    String getRefresh();
    //上啦加载更多
    String getLoadMore();
    //轮播数据加载成功
    void addHomeRow(List<HomeRow> list);
    //买手类型数据加载成功
    void addHomeGrid(List<HomeGrid> list);
    //其他数据加载成功
    void addHomeContent(List<HomeContent> list);
    //刷新成功
    void addRefresh(List<HomeContent> list);
    //加载更多成功
    void addLoadMore(List<HomeContent> list);
    //加载失败
    void showLoadFailMsg(String msg,Throwable e);
}
